import request from '@/utils/request'

// 查询库存状态
export function stockStateAPI() {
  return request({
    url: '/data_igr/stockState',
    method: 'get'

  })
}
// 查询设备状态
export function deviceStateAPI() {
  return request({
    url: '/data_igr/deviceState',
    method: 'get'

  })
}
// 查询设备最新数据
export function dataStateAPI(){
  return request({
    url:'/data_igr/dataState',
    method:'get'
  })
}
// 查询电费相关指标
export function rateStateAPI(){
  return request({
    url:'/data_igr/rateState',
    method:'get'
  })
}
// 电费曲线
export function rateLineAPI(){
  return request({
    url:'/data_igr/rateLine',
    method:'get'
  })
}